package com.psp.bu.service.impl;

import java.util.ArrayList;
import java.util.List;

import org.springframework.stereotype.Service;

import com.psp.bu.controller.res.bean.RBillListBean;
import com.psp.bu.service.BillService;

@Service
public class BillServiceImpl implements BillService {

	@Override
	public void export(String uid, Integer type) {

	}

	@Override
	public PageResult<RBillListBean> getList(int page, int pageSize, String uid, int type) {
		PageResult<RBillListBean> result = new PageResult<>();

		List<RBillListBean> list = new ArrayList<>();

		for (int i = 0; i < 20; i++) {
			RBillListBean bean = new RBillListBean();
			bean.setContent("订单");
			list.add(bean);
		}

		result.setData(list);
		result.setCount(20);

		return result;
	}

}
